package com.ssm.zy.mapper;

import com.ssm.zy.pojo.Role;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface RoleMapper {
    //根据角色id获取角色
    Role getRoleById(@Param("id") Integer roleId);
}
